import Vue from 'vue'
import Router from 'vue-router'
import Children from './children'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/content'
    },
    {
      path: '/',
      name: 'home',
      component: () => import('@/views/Home'),
      children: [
        ...Children
      ]
    }
  ]
})
